package com.movitech.mobile.cz.base.sys.mapper.ext;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.movitech.mobile.cz.base.sys.entity.SysUser;
import com.movitech.mobile.cz.base.sys.entity.ext.ExtSysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-02-28
 */
@Component
@Mapper
public interface ExtSysUserMapper extends BaseMapper<ExtSysUser> {

    ExtSysUser getUserByLoginName(@Param("loginName") String loginName);

    List<SysUser> getByUserIds(@Param("idList") List<String> idList);
}
